package week2;

public class Point {
    private int x;
    private int y;

    public Point() {
    }

    public Point(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public void movePoint(int x,int y){
        this.x += x;
        this.y += y;
        System.out.println("点的移动（" + this.x + "," + this.y + ")");
    }
}
